package com.atguigu.service.impl;

import com.atguigu.service.SomeService;

public class SomeServiceImpl implements SomeService {

    public SomeServiceImpl() {
        // 运行MyTest，发现下面这句话打印了两次，是因为xml文件声明了两个bean
        System.out.println("SomeServiceImpl的无参数构造方法");
    }

    @Override
    public void doSome() {
        System.out.println("执行了SomeServiceImpl的doSome方法");
    }
}
